package org.example.service;

import org.apache.ibatis.annotations.Param;
import org.example.entity.ClassEntity;

import java.util.List;
import java.util.Map;

public interface ClassService {
    int addClass(ClassEntity classEntity);

    List<ClassEntity> findClass(String classid);

    int chooseClass(String schoolid, String classid);

    List<Map<String,Object>> queryStudentClass(String schoolid);

    List<Map<String,Object>> queryTeacherClass(String schoolid);

    ClassEntity queryClass(String classid);

    int updateToAudit(String classid,String schoolid);

}
